package com.qingzhuge.verification.dto.tencent;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class DetectInfo implements Serializable {
    private static final long serialVersionUID = -4002169838757728841L;

    /**本次核身的错误信息。*/
    @SerializedName("ErrMsg")
    @Expose
    private String errMsg;
    /**本次核身最终结果。0为成功*/
    @SerializedName("ErrCode")
    @Expose
    private Integer statusCode;

    @Expose
    @ApiModelProperty("认证状态:true = 通过\\false = 不通过")
    private Boolean status;
    /**本次核身最终获得的姓名。*/
    @SerializedName("Name")
    @Expose
    private String name;
    /**本次核身最终获得的身份证号*/
    @SerializedName("IdCard")
    @Expose
    private String identificationNumber;
    private String idCardType;
    private String idCardStartDate;
    /**ocr阶段获取的证件有效期*/
    @SerializedName("OcrValidDate")
    @Expose
    private String idCardExpiry;
    /**ocr阶段获取的地址*/
    @SerializedName("OcrAddress")
    @Expose
    private String address;
    /**ocr阶段获取的性别*/
    @SerializedName("OcrGender")
    @Expose
    private String sex;
    /**ocr阶段获取的民族*/
    @SerializedName("OcrNation")
    @Expose
    private String ethnicGroup;
    /**活体检测阶段的错误码。0为成功*/
    @SerializedName("LiveStatus")
    @Expose
    private String liveStatus;

    /**活体检测阶段的错误信息*/
    @SerializedName("LiveMsg")
    @Expose
    private String liveMsg;

    /**一比一阶段的错误码。0为成功*/
    @SerializedName("Comparestatus")
    @Expose
    private String comparestatus;

    /**一比一阶段的错误信息*/
    @SerializedName("Comparemsg")
    @Expose
    private String comparemsg;

    /**DetectAuth结果传进来的Extra信息*/
    @SerializedName("Extra")
    @Expose
    private String extra;
}
